package com.sum.tea.xinlian.bean

import com.uhf.api.cls.Reader
import com.uhf.api.cls.Reader.*

object Extensions {
    fun Reader.READER_ERR.isSuccess(): Boolean = this == Reader.READER_ERR.MT_OK_ERR

    fun Reader.initReader(address: String, antCount: Int): READER_ERR {
        return InitReader_Notype(address, antCount)
    }
}